//
//  FTYCollectionPort.h
//  RedWine
//
//  Created by Liufangfang on 2017/1/4.
//  Copyright © 2017年 HuiBangKe. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^ReturnStateBlock)(BOOL isBool);

@interface FTYCollectionPort : NSObject

/**
 * @brief 收藏接口请求
 * projectID  项目ID
 * viewController 当前界面 方便跳转登录界面
 * block 回调 YES是收藏状态 NO是未收藏状态
 */
+ (void)requestCollectionWithProjectID:(NSString *)projectID viewController:(UIViewController *)vc block:(ReturnStateBlock)block;
/**
 * @brief 取消收藏接口请求
 * projectID  项目ID
 * viewController 当前界面 方便跳转登录界面
 * block 回调 YES是收藏状态 NO是未收藏状态
 */
+ (void)requestCancelCollectionWithProjectID:(NSString *)projectID viewController:(UIViewController *)vc block:(ReturnStateBlock)block;

@end
